package com.txy.api;

import com.txy.api.dto.RaffleAwardListRequestDTO;
import com.txy.api.dto.RaffleAwardListResponseDTO;
import com.txy.api.dto.RaffleRequestDTO;
import com.txy.api.dto.RaffleResponseDTO;
import com.txy.types.common.Response;

import java.util.List;

public interface IRaffleService {

    /**
     * 装配抽奖策略
     * @param strategyId
     * @return
     */
    Response<Boolean> strategyArmory(Long strategyId);

    /**
     * 获取奖品列表
     * @param raffleAwardListRequestDTO
     * @return
     */
    Response<List<RaffleAwardListResponseDTO>> queryRaffleAwardList(RaffleAwardListRequestDTO raffleAwardListRequestDTO);

    /**
     * 抽奖
     * @param requestDTO
     * @return
     */
    Response<RaffleResponseDTO> randomRaffle(RaffleRequestDTO requestDTO);

}
